package com.homedo.microservice.distributed.id.service.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "generate.no")
@Data
public class GenerateNoConf {
    //默认就开启生成单号的功能
    private boolean enable = true;
    private String zkAddress;
    private int zkPort;

}
